/*
 * @Description:
 * @version:
 * @Author: m
 * @LastEditors: m
 */
import Vue from "vue";
import App from "./App.vue";

import Vant from "vant";
import "vant/lib/index.css";
import router from "./router";

// 全局js
import global_ from "./utils/global";
Vue.prototype.GLOBAL = global_;

// 全局css
import "@/styles/index.scss";
import "@/styles/font-awesome/css/font-awesome.min.css";

Vue.config.productionTip = false;

Vue.config.devtools = true;

const { mockXHR } = require("../mock");
mockXHR();

Vue.use(Vant);

new Vue({
	render: (h) => h(App),
	router,
	components: { App },
}).$mount("#app");
